<?php
/**
*
* @package YubiKey Login
* @version 1.0.3
* @copyright (c) 2010 Tim Schlueter
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

// Create the lang array if it does not already exist
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// Merge the following YubiKey language entries into the lang array
$lang = array_merge($lang, array(
	'ACCOUNT_YUBIKEY_CONFIRM_LINK_EXPIRED'		=> 'You have tried to use a one-time YubiKey Lost confrimation link that has expired.',
	'ACCOUNT_YUBIKEY_NO_USER'			=> 'That user does not exist or does not have any YubiKeys registered to the account.',
	'ACCOUNT_YUBIKEY_RESET_ERROR'			=> 'A problem occurred while reseting the YubiKey preferences.',
	'ACCOUNT_YUBIKEY_RESET_SUCCESS'			=> 'Your YubiKey preferences have successfully been reset.',
	'ACCOUNT_YUBIKEY_WRONG_CONFIRM'			=> 'The YubiKey reset confirmation code is incorrect.',
	'ACP_DEL_YUBIKEYS'				=> 'Remove YubiKeys',
	'ACP_USER_YUBIKEY_LOGIN'			=> 'YubiKey Manager',
	'ACP_YUBIKEY_LOGIN'				=> 'YubiKey login',
	'ACP_YUBIKEY_SETTINGS'				=> 'YubiKey login settings',
	'ACP_YUBIKEY_SETTINGS_EXPLAIN'			=> 'The YubiKey login module provides YubiKey based strong two-factor user authentication capabilities to your site. Here you can configure global settings for this module.',
	'ACP_YUBIKEY_USERS'				=> 'YubiKey User Manager',
	'ACP_YUBIKEYS'					=> 'Manage YubiKeys',
	'ACP_YUBIKEYS_EXPLAIN'				=> 'Manage YubiKeys that have been registered to users on this forum.',
	'ACP_YUBIKEY_VAL_SER_PARAMS'			=> 'Validation service API parameters',
	'ACP_YUBIKEY_VAL_SER_URLS'			=> 'Validation service URLs',

	'ERROR_ACTIVATING_YUBIKEY'			=> 'Some problem occurred while activating the YubiKey. Please try again',
	'ERROR_ADDING_YUBIKEY'				=> 'Some problem occurred while adding the YubiKey. Please try again',
	'ERROR_DEACTIVATING_YUBIKEY'			=> 'Some problem occurred while de-activating the YubiKey. Please try again',
	'ERROR_DELETING_YUBIKEY'			=> 'Some problem occurred while deleting the YubiKey. Please try again',
	'ERROR_DELETING_YUBIKEYS'			=> 'Some problem occurred while deleting the selected YubiKeys. Please try again',
	'ERROR_INVALID_REQ'				=> 'Invalid request. Please try again.',
	'ERROR_LAST_YUBIKEY'				=> 'This is the only YubiKey you have registered with your account. As a YubiKey OTP is required to log into the forum, you cannot delete your only YubiKey.', 
	'ERROR_RESETTING_YUBIKEY'			=> 'Some problem occurred while resetting the YubiKey. Please try again',
	'ERROR_SAVING_YUBIKEY_SETTINGS'			=> 'Some problem occurred while saving YubiKey login settings.Please try again',
	'ERROR_YUBIKEY_ALREADY_EXISTS'			=> 'This YubiKey is already in use on this site.',

	'FORM_YUBIKEY_LOGIN'				=> 'Enable YubiKey login',
	'FORM_YUBIKEY_LOGIN_EXPLAIN'			=> 'Determines whether users can use their YubiKey to log into the forum.',
	'FORM_YUBIKEY_LOGIN_METHOD'			=> 'YubiKey login scheme',
	'FORM_YUBIKEY_LOGIN_OPTIONAL'			=> 'Make YubiKey OTP optional until registered',
	'FORM_YUBIKEY_LOGIN_OPTIONAL_EXPLAIN'		=> 'This will allow users to log into the forum using Username and Password as long as no YubiKey has been registered. Once a YubiKey is registered to a particular user account, that user must provide a YubiKey OTP along with the Username and Password in order to login.',
	'FORM_YUBIKEY_LOGIN_OPTIONAL_IF_LOST'		=> 'Make YubiKey OTP optional in case of loss of YubiKey',
	'FORM_YUBIKEY_LOGIN_OPTIONAL_IF_LOST_EXPLAIN'	=> 'This will automatically make the YubiKey OTP field optional for users who have reported and confirmed loss of their YubiKey.',
	'FORM_YUBIKEY_VAL_SER_API_ID'			=> 'API ID',
	'FORM_YUBIKEY_VAL_SER_API_ID_EXPLAIN'		=> 'Your Yubico API client ID from the <a href="https://upgrade.yubico.com/getapikey/">Yubico API Key Generator</a>.',
	'FORM_YUBIKEY_VAL_SER_API_KEY'			=> 'API key',
	'FORM_YUBIKEY_VAL_SER_API_KEY_EXPLAIN'		=> 'Your Yubico API secret key from the <a href="https://upgrade.yubico.com/getapikey/">Yubico API Key Generator</a>.',
	'FORM_YUBIKEY_VAL_SER_API_TIMEOUT'		=> 'Timeout[s]',
	'FORM_YUBIKEY_VAL_SER_API_TIMEOUT_EXPLAIN'	=> 'The longest that the YubiKey validation should wait before giving up.',
	'FORM_YUBIKEY_VAL_SER_API_HTTPS'		=> 'HTTPS',
	'FORM_YUBIKEY_VAL_SER_API_HTTPS_EXPLAIN'	=> 'Use HTTPS to access validation service.',
	'FORM_YUBIKEY_VAL_SER_URL1'			=> 'URL #1',
	'FORM_YUBIKEY_VAL_SER_URL2'			=> 'URL #2',
	'FORM_YUBIKEY_VAL_SER_URL3'			=> 'URL #3',
	'FORM_YUBIKEY_VAL_SER_URL4'			=> 'URL #4',
	'FORM_YUBIKEY_VAL_SER_URL5'			=> 'URL #5',
	'FORM_YUBIKEY_VAL_SER_TYPE'			=> 'Validation source',
	'FORM_YUBIKEY_VAL_SER_TYPE_EXPLAIN'		=> '',

	'LOG_ERROR_ACTIVATING_YUBIKEY'			=> '<strong>Failed to activate YubiKey</strong><br />» %1$s',
	'LOG_ERROR_ADDING_YUBIKEY'			=> '<strong>Failed to add YubiKey</strong><br />» %1$s',
	'LOG_ERROR_DEACTIVATING_YUBIKEY'		=> '<strong>Failed to de-activate YubiKey</strong><br />» %1$s',
	'LOG_ERROR_DELETING_YUBIKEY'			=> '<strong>Failed to delete YubiKey</strong><br />» %1$s',
	'LOG_ERROR_DELETING_YUBIKEYS'			=> '<strong>Failed to delete YubiKeys</strong><br />» %1$s',
	'LOG_USER_RESET_YUBIKEY'			=> '<strong>Reset YubiKey preferences</strong><br />» %s',
	'LOG_YUBIKEY_ADDED'				=> '<strong>Added YubiKey</strong><br />» %1$s',
	'LOG_YUBIKEY_ACTIVATED'				=> '<strong>Activated YubiKey</strong><br />» %1$s',
	'LOG_YUBIKEY_DEACTIVATED'			=> '<strong>De-activated YubiKey</strong><br />» %1$s',
	'LOG_YUBIKEY_DELETED'				=> '<strong>Deleted YubiKey</strong><br />» %1$s',
	'LOG_YUBIKEYS_DELETED'				=> '<strong>Deleted YubiKeys</strong><br />» %1$s',
	'LOG_YUBIKEY_LOST_CONFIRMED'			=> '<strong>Confirmed loss of YubiKey (all YubiKeys de-activated)</strong>',
	'LOG_YUBIKEY_RESET_DONE'			=> '<strong>Reset YubiKey</strong>',
	'LOG_YUBIKEY_SETTINGS_SAVED'			=> '<strong>Altered YubiKey login settings</strong>',
	'LOGIN_ERROR_YUBIKEY_BAD_OTP'			=> 'You have specified an invalid YubiKey OTP.',
	'LOGIN_ERROR_YUBIKEY_INACTIVE'			=> 'YubiKey is not associated with your account or it has been blocked.',
	'LOGIN_ERROR_YUBIKEY_NO_VALID_ANSWER'		=> 'YubiKey OTP could not be validated. Please contact the %sBoard Administrator%s if this problem persists.',
	'LOGIN_ERROR_YUBIKEY_REPLAYED_OTP'		=> 'YubiKey OTP validation failed with message: Replayed OTP.',
	'LOGIN_ERROR_YUBIKEY_REQUIRED'			=> 'A YubiKey OTP is required to log in.',
	'LOST_YUBIKEY'					=> 'I lost my YubiKey',

	'NO_YUBIKEYS'					=> 'There are no YubiKeys to display.',
	'NO_YUBIKEYS_ANY'				=> 'There are no YubiKeys registered to any user.',
	'NO_YUBIKEYS_USER'				=> 'There are no YubiKeys registered to this user.',
	'NO_YUBIKEYS_YOU'				=> 'You do not have any YubiKeys registered to your account.',

	'UCP_YUBIKEY_LOGIN'				=> 'Manage YubiKeys',
	'UNINSTALL_SUCCESSFUL'				=> 'Uninstall successful.',

	'YUBIKEY'					=> 'YubiKey',
	'YUBIKEYS'					=> 'YubiKeys',
	'YUBIKEY_ACTIVATE'				=> 'Activate',
	'YUBIKEY_ACTIVATED'				=> 'YubiKey successfully activated.',
	'YUBIKEY_ADD'					=> 'Add YubiKey',
	'YUBIKEY_ADD_A'					=> 'Add a YubiKey',
	'YUBIKEY_ADDED'					=> 'YubiKey successfully added.',
	'YUBIKEY_ALREADY_INSTALLED'			=> 'YubiKey login module has already been installed. Please delete this file.',
	'YUBIKEY_DEACTIVATE'				=> 'Deactivate',
	'YUBIKEY_DEACTIVATED'				=> 'YubiKey successfully de-activated.',
	'YUBIKEY_DELETE'				=> 'Delete',
	'YUBIKEY_DELETED'				=> 'YubiKey successfully deleted.',
	'YUBIKEYS_DELETED'				=> 'The selected YubiKeys successfully deleted.',
	'YUBIKEY_DELETE_CONF'				=> 'Are you sure you want to delete this YubiKey? ',
	'YUBIKEY_DEVICE_ID'				=> 'YubiKey ID',
	'YUBIKEY_ERROR_INVALID'				=> 'ERROR: Invalid device submitted.',
	'YUBIKEY_ERROR_NO_YUBIKEY'			=> 'ERROR: You must have a YubiKey registered to your username before you can change the login settings.',
	'YUBIKEY_IS_OPTIONAL'				=> '<b>(optional)</b>',
	'YUBIKEY_IS_OPTIONAL_UNTIL_REGISTERED'		=> '(optional until registered)',
	'YUBIKEY_INSTALL_COMPLETE'			=> 'YubiKey Login module successfully installed! Please delete this file, <a href="https://upgrade.yubico.com/getapikey/">request an API key from Yubico</a> and configure YubiKey login settings in the Admin Control Panel.',
	'YUBIKEY_LASTLOGIN'				=> 'Last Used',
	'YUBIKEY_LIST'					=> 'Your YubiKeys',
	'YUBIKEY_LOGIN_DISABLED'			=> 'The administrator has chosen to disable YubiKey logins.',
	'YUBIKEY_LOGIN_METHOD_PWD_YK'			=> 'Password + YubiKey OTP',
	'YUBIKEY_LOGIN_METHOD_UN_OR_YK_PWD'		=> '(Username or YubiKey OTP) + Password',
	'YUBIKEY_LOGIN_METHOD_YK_ONLY'			=> 'YubiKey OTP only',
	'YUBIKEY_LOGIN_METHOD_UN_PWD_YK'		=> 'Username + Password + YubiKey OTP',
	'YUBIKEY_LOST_CONFIRMED'			=> 'Thanks for reporting loss of your YubiKey. You will be now redirected to "Reset YubiKey" screen',
	'YUBIKEY_LOST_REPORTED'				=> 'Further instructions have been sent to your registered e-mail address.',
	'YUBIKEY_NOT_INSTALLED'				=> 'YubiKey login module is not installed. Please delete this file.',
	'YUBIKEY_NOT_REQUIRED'				=> 'A YubiKey is not required, please log in normally.',
	'YUBIKEY_OTP'					=> 'YubiKey OTP',
	'YUBIKEY_OTP_FULL'				=> 'YubiKey onetime passcode',
	'YUBIKEY_OTP_FULL_EXPLAIN'			=> 'Touch your YubiKey to emit onetime passcode here.',
	'YUBIKEY_OTP_LINK'				=> '<a href="http://www.yubico.com/products/yubikey/">YubiKey OTP</a>',
	'YUBIKEY_RESET'					=> 'Reset YubiKey',
	'YUBIKEY_STATUS'				=> 'Status',
	'YUBIKEY_SEARCH_FOR'				=> 'Search for',
	'YUBIKEY_SEND'					=> 'Send YubiKey reset key',
	'YUBIKEY_SETTINGS_SAVED'			=> 'YubiKey login settings have been updated.',
	'YUBIKEY_REPORT_LOST'				=> 'Report loss of YubiKey',
	'YUBIKEY_UPDATED'				=> 'A reset key has been sent to your registered e-mail address.',
	'YUBIKEY_VAL_SER_TYPE_ONLINE'			=> 'Yubico online validation service',
	'YUBIKEY_VAL_SER_TYPE_CUSTOM'			=> 'Own YubiKey validation server isntances',
));

?>
